import {request} from '@utils/gmall';
import {reqTrademarkListParams, reqTrademarkListReturnType , trademarkItemType} from '@api/project/model/trademarkType';
//获取品牌列表的请求
export const reqTrademarkList = ({page,limit}:reqTrademarkListParams) => {
  return request.get<any,reqTrademarkListReturnType>(`/admin/product/baseTrademark/${page}/${limit}`)
}
//添加品牌的请求
export const reqAddTrademark = (params:trademarkItemType) => {
  return request.post<any,null>(`/admin/product/baseTrademark/save`,params)
}
//修改品牌的请求
export const reqUpdateTrademark = (params:trademarkItemType) => {
  return request.put<any,null>(`/admin/product/baseTrademark/update`,params)
}
